import request from '@/utils/request'
//客户班级api
// 客户班级列表
export function getCustomerClassList(params) {
  return request({
    url: '/customerClass/list',
    method: 'get',
    params
  })
}

export function saveCustomerClass(data) {
  return request({
    url: '/customerClass/save',
    method: 'post',
    data
  })
}
// 获取客户班级详情
export function getCustomerClassDetail(params) {
  return request({
    url: `/customerClass/detail`,
    method: 'get',
    params
  })
}

// 删除客户班级
export function delCustomerClass(params) {
  return request({
    url: `/customerClass/delete`,
    method: 'delete',
    params
  })
}